package org.anyin.gitee.cloud.center.base.model.enums;

import org.anyin.gitee.cloud.lib.core.enums.BaseEnum;

public enum StatusEnum implements BaseEnum {
    ENABLE("enable", "启用"),
    DISABLE("disable", "禁用")
    ;

    private String code;
    private String text;

    StatusEnum(String code, String text) {
        this.code = code;
        this.text = text;
    }

    @Override
    public String getCode() {
        return code;
    }

    @Override
    public String getText() {
        return text;
    }
}
